<div class="row">
    <div class="col-lg-12">
        <div class="ibox">
            <div class="ibox-title">
                <h5>
                    <span><vc:i18n name="巡检点信息" namespace="inspectionRoutePointManage"></vc:i18n></span>
                </h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" class="btn btn-primary btn-sm " v-on:click="_goBack()"
                            style="margin-right:10px">
                        <i class="fa fa-close"></i>
                        <span><vc:i18n name="返回" namespace="inspectionRoutePointManage"></vc:i18n></span>
                    </button>
                    <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddInspectionRoutePointModal()">
                        <i class="fa fa-plus"></i>
                        <span><vc:i18n name="添加" namespace="inspectionRoutePointManage"></vc:i18n></span>
                    </button>
                </div>
            </div>
            <div class="ibox-content">
                <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                    <thead>
                    <tr>
                        <th class="text-center">
                            <span><vc:i18n name="巡检点" namespace="inspectionRoutePointManage"></vc:i18n></span>ID
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="巡检点名称" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="巡检点类型" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="巡检位置" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="开始时间" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="结束时间" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="排序" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                        <th class="text-center">
                            <span><vc:i18n name="操作" namespace="inspectionRoutePointManage"></vc:i18n></span>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr v-for="inspectionPoint in inspectionRoutePointManageInfo.inspectionPoints">
                        <td class="text-center">{{inspectionPoint.inspectionId}}</td>
                        <td class="text-center">{{inspectionPoint.inspectionName}}</td>
                        <td class="text-center">{{inspectionPoint.pointTypeName}}</td>
                        <td class="text-center">{{inspectionPoint.pointObjName}}</td>
                        <td class="text-center">
                            {{inspectionPoint.pointStartTime ? inspectionPoint.pointStartTime : '-'}}
                        </td>
                        <td class="text-center">
                            {{inspectionPoint.pointEndTime ? inspectionPoint.pointEndTime : '-'}}
                        </td>
                        <td class="text-center">{{inspectionPoint.sortNumber ? inspectionPoint.sortNumber : '-'}}</td>
                        <td class="text-center">
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs"
                                        v-on:click="_openEditInspectionRoutePointModel(inspectionPoint)">
                                    <span><vc:i18n name="修改" namespace="inspectionRoutePointManage"></vc:i18n></span>
                                </button>
                                <button class="btn-white btn btn-xs"
                                        v-on:click="_openDeleteInspectionRoutePointModel(inspectionPoint)">
                                    <span><vc:i18n name="删除" namespace="inspectionRoutePointManage"></vc:i18n></span>
                                </button>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                    <tfoot>
                    <tr>
                        <td colspan="8">
                            <ul class="pagination float-right"></ul>
                        </td>
                    </tr>
                    </tfoot>
                </table>
                <!-- 分页 -->
                <vc:create path="frame/paginationPlus" namespace="inspectionRoutePointManage"></vc:create>
            </div>
        </div>
    </div>
    <vc:create path="property/chooseInspectionRoutePoint" emitListener="inspectionRoutePointManage"
               emitFunction="listInspectionPoint">
    </vc:create>
    <vc:create path="property/deleteInspectionRoutePoint"></vc:create>
    <vc:create path="property/editInspectionRoutePoint"></vc:create>
</div>
